package com.acme.bankapp.domain.bank;

import com.acme.bankapp.exceptions.NotEnoughFundException;

/**
 * Created with IntelliJ IDEA.
 * User: Alfeya
 * Date: 15.11.14
 * Time: 0:09
 * To change this template use File | Settings | File Templates.
 */
public interface Account {
    void deposit(double amount);
    void withdraw(double amount) throws NotEnoughFundException;
    double getBalance();
    double maximumAmountToWithdraw();
    void setAccountID(int numOfAccounts);
    int getAccountID();
    long decimalValue();
}
